<?php 
$GLOBALS['Md'] = "Exchange";
$GLOBALS['Pd'] = "B";
require_once($_SERVER['DOCUMENT_ROOT']."/defaultconf.mex");
MYTCONN();
include("main.obj.mex");
include("nav.views.mex");
include('Lib/pr.exchange.mex');


if (isset($_GET['update']) && $_GET['update'] == "other") {
} elseif(isset($_GET['update']) && $_GET['update'] == "profit") {
	include('Lib/list.orders.mex');
} elseif (isset($_GET['update']) && $_GET['update'] == "rates") {
   include('Lib/elem.rates.mex');
   include('Lib/list.rates.mex'); 
   echo '<DIV id="Fees" class="Line">';
   include('Lib/elem.tax.mex'); 
   echo '</DIV><DIV id="Expensses" class="Line">';
   include('Lib/elem.expenses.mex'); 
   echo '</DIV>';
} if (!isset($_POST['Search']) && !isset($_GET['update'])) {
	include('Lib/list.seckeys.mex');
} ?>